package com.yyfax.pay.order.model.to.payin;

import com.yyfax.pay.common.model.to.YYPayParams;

/**
 * 代付异步通知请求参数
 * 
 * @author maojian
 * @date 2017-04-15 16:26:40
 * @since v1.0.0
 */
@SuppressWarnings("serial")
public class PayinResultNotifyParams extends YYPayParams {
	private PayinNotifyParams params;

	public PayinNotifyParams getParams() {
		return params;
	}

	public void setParams(PayinNotifyParams params) {
		this.params = params;
	}

	public static class PayinNotifyParams extends YYPayParams {
		private Integer resultCode;
		private String resultMsg;
		private String merchantCode;
		private String orderId;
		private String userId;
		private String paymentCode;
		private String serialNo;
		private int amout;

		public Integer getResultCode() {
			return resultCode;
		}

		public void setResultCode(Integer resultCode) {
			this.resultCode = resultCode;
		}

		public String getResultMsg() {
			return resultMsg;
		}

		public void setResultMsg(String resultMsg) {
			this.resultMsg = resultMsg;
		}

		public String getMerchantCode() {
			return merchantCode;
		}

		public void setMerchantCode(String merchantCode) {
			this.merchantCode = merchantCode;
		}

		public String getOrderId() {
			return orderId;
		}

		public void setOrderId(String orderId) {
			this.orderId = orderId;
		}

		public String getUserId() {
			return userId;
		}

		public void setUserId(String userId) {
			this.userId = userId;
		}

		public String getPaymentCode() {
			return paymentCode;
		}

		public void setPaymentCode(String paymentCode) {
			this.paymentCode = paymentCode;
		}

		public String getSerialNo() {
			return serialNo;
		}

		public void setSerialNo(String serialNo) {
			this.serialNo = serialNo;
		}

		public int getAmout() {
			return amout;
		}

		public void setAmout(int amout) {
			this.amout = amout;
		}

		@Override
		public String[] signFields() {
			return new String[] { "resultCode", "resultMsg", "merchantCode", "orderId", "userId", "paymentCode", "serialNo", "amout" };
		}
	}

	@Override
	public boolean validate() throws Exception {
		return true;
	}

	@Override
	public String[] signFields() {
		return null;
	}

}
